Windows 2008R2 and LDAP connections

Windows 2008R2 and LDAP connections

am 15.12.2009 23:30:16 von James Coffman

------=_NextPart_000_0010_01CA7DA3.E2D19E10
Content-Type: multipart/alternative;
boundary="----=_NextPart_001_0011_01CA7DA3.E2D19E10"


------=_NextPart_001_0011_01CA7DA3.E2D19E10
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hello and good day,

I have been researching all day about connecting with PHP to
Active Directory. I am at an extreme loss because I am not 100% on what is
being talked about. So in hopes of a resolution I am spilling it all here.



I have all access that I need in order to make any changes
or adjustments that I need to (either to domain controller/AD controller or
anything else). I just do not know exactly what I need to do in order to
complete the process. I do have Active Directory installed on the domain
controller which serves as DC and AD controller. I have a separate machine
that is running IIS 7.5 and is acting as my intranet server. I have
installed the latest version of PHP with LDAP support. I have searched high
and low on a simpler explanation of the LDAP commands used in php as it is
new to me (know a little procedural php code). The end result that I am
trying to achieve is that users on the local network are automatically
logged into the intranet website because their computer is already
authenticated with AD for the logon and for users outside of the network
that attempt to access the site are queried for their login credentials. I
would much rather maintain one user database than two and right now we are
actually maintaining about three databases (which becomes a headache). Is
there anyone out there that can shed some light on this matter so that I
might get better educated on it?





Thank you in advance,



James Coffman - Webmaster

Central Arkansas Development Council

email2 webmaster@cadc.com

phone501-778-1133

- Building Futures through community action -




------=_NextPart_001_0011_01CA7DA3.E2D19E10
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40">


charset=3Dus-ascii">










Hello and good day,



class=3DMsoNormal>         &=
nbsp;      I
have been researching all day about connecting with PHP to Active
Directory.  I am at an extreme loss because I am not 100% on what =
is being
talked about.  So in hopes of a resolution I am spilling it all =
here.



 



class=3DMsoNormal>         &=
nbsp;       
I have all access that I need in order to make any changes or =
adjustments that
I need to (either to domain controller/AD controller or anything =
else).  I
just do not know exactly what I need to do in order to complete the
process.  I do have Active Directory installed on the domain =
controller
which serves as DC and AD controller.  I have a separate machine =
that is
running IIS 7.5 and is acting as my intranet server.  I have =
installed the
latest version of PHP with LDAP support.  I have searched high and =
low on
a simpler explanation of the LDAP commands used in php as it is new to =
me (know
a little procedural php code).  The end result that I am trying to =
achieve
is that users on the local network are automatically logged into the =
intranet
website because their computer is already authenticated with AD for the =
logon
and for users outside of the network that attempt to access the site are =
queried
for their login credentials.  I would much rather maintain one user
database than two and right now we are actually maintaining about three
databases (which becomes a headache).  Is there anyone out there =
that can
shed some light on this matter so that I might get better educated on =
it? 



 



 



Thank you in advance,



 



style=3D'font-size:16.0pt;font-family:"Blackadder ITC";
color:#1F497D'>James Coffman – Webmaster
style=3D'font-size:
16.0pt;font-family:"Blackadder =
ITC";color:#1F497D'>



style=3D'font-size:16.0pt;font-family:"Blackadder ITC";
color:#1F497D'> style=3D'color:blue'>Central
Arkansas Development Council



style=3D'font-size:16.0pt;font-family:"Blackadder ITC";
color:#1F497D'> id=3D"Picture_x0020_1"
src=3D"cid:image001.jpg@01CA7DA2.8E356B80" alt=3Demail2> href=3D"mailto:webmaster@cadc.cc"> style=3D'color:blue'>webmaster@cadc.com



style=3D'font-size:16.0pt;font-family:"Blackadder ITC";
color:#1F497D'> id=3D"Picture_x0020_2"
src=3D"cid:image002.jpg@01CA7DA2.8E356B80" =
alt=3Dphone>501-778-1133



style=3D'font-size:16.0pt;font-family:"Blackadder ITC";
color:#1F497D'>- Building Futures through community action -
style=3D'font-size:26.0pt;font-family:"Blackadder =
ITC";color:#1F497D'>



 









------=_NextPart_001_0011_01CA7DA3.E2D19E10--

------=_NextPart_000_0010_01CA7DA3.E2D19E10--

RE: Windows 2008R2 and LDAP connections

am 15.12.2009 23:37:58 von Keith Davis

------_=_NextPart_001_01CA7DD7.40F3E717
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

We use adLDAP:
=20
http://adldap.sourceforge.net/
=20


Keith Davis (214) 906-5183=20

=20

________________________________

From: James Coffman [mailto:webmaster@cadc.com]=20
Sent: Tuesday, December 15, 2009 4:30 PM
To: php-windows@lists.php.net
Subject: [PHP-WIN] Windows 2008R2 and LDAP connections



Hello and good day,

I have been researching all day about connecting with
PHP to Active Directory. I am at an extreme loss because I am not 100%
on what is being talked about. So in hopes of a resolution I am
spilling it all here.

=20

I have all access that I need in order to make any
changes or adjustments that I need to (either to domain controller/AD
controller or anything else). I just do not know exactly what I need to
do in order to complete the process. I do have Active Directory
installed on the domain controller which serves as DC and AD controller.
I have a separate machine that is running IIS 7.5 and is acting as my
intranet server. I have installed the latest version of PHP with LDAP
support. I have searched high and low on a simpler explanation of the
LDAP commands used in php as it is new to me (know a little procedural
php code). The end result that I am trying to achieve is that users on
the local network are automatically logged into the intranet website
because their computer is already authenticated with AD for the logon
and for users outside of the network that attempt to access the site are
queried for their login credentials. I would much rather maintain one
user database than two and right now we are actually maintaining about
three databases (which becomes a headache). Is there anyone out there
that can shed some light on this matter so that I might get better
educated on it? =20

=20

=20

Thank you in advance,

=20

James Coffman - Webmaster

Central Arkansas Development Council =20

email2webmaster@cadc.com =20

phone501-778-1133

- Building Futures through community action -

=20


This message (including any attachments) may contain confidential or =
otherwise privileged information and is intended only for the =
individual(s) to which it is addressed. If you are not the named =
addressee you should not disseminate, distribute or copy this e-mail. =
Please notify the sender immediately by e-mail if you have received this =
e-mail by mistake and delete this e-mail from your system. E-mail =
transmission cannot be guaranteed to be secured or error-free as =
information could be intercepted, corrupted, lost, destroyed, arrive =
late or incomplete, or contain viruses. The sender therefore does not =
accept liability for any errors or omissions in the contents of this =
message or that arise as a result of e-mail transmission. If =
verification is required please request a hard-copy version from the =
sender.

www.pridedallas.com


------_=_NextPart_001_01CA7DD7.40F3E717--

Re: Windows 2008R2 and LDAP connections

am 16.12.2009 00:59:55 von Richard Quadling

2009/12/15 Keith Davis :
> We use adLDAP:
>
> http://adldap.sourceforge.net/
>
>
>
> Keith Davis (214) 906-5183
>
>
>
> ________________________________
>
> From: James Coffman [mailto:webmaster@cadc.com]
> Sent: Tuesday, December 15, 2009 4:30 PM
> To: php-windows@lists.php.net
> Subject: [PHP-WIN] Windows 2008R2 and LDAP connections
>
>
>
> Hello and good day,
>
>                I have been resear=
ching all day about connecting with
> PHP to Active Directory.  I am at an extreme loss because I am not 1=
00%
> on what is being talked about.  So in hopes of a resolution I am
> spilling it all here.
>
>
>
>                  I have all =
access that I need in order to make any
> changes or adjustments that I need to (either to domain controller/AD
> controller or anything else).  I just do not know exactly what I nee=
d to
> do in order to complete the process.  I do have Active Directory
> installed on the domain controller which serves as DC and AD controller.
> I have a separate machine that is running IIS 7.5 and is acting as my
> intranet server.  I have installed the latest version of PHP with LD=
AP
> support.  I have searched high and low on a simpler explanation of t=
he
> LDAP commands used in php as it is new to me (know a little procedural
> php code).  The end result that I am trying to achieve is that users=
on
> the local network are automatically logged into the intranet website
> because their computer is already authenticated with AD for the logon
> and for users outside of the network that attempt to access the site are
> queried for their login credentials.  I would much rather maintain o=
ne
> user database than two and right now we are actually maintaining about
> three databases (which becomes a headache).  Is there anyone out the=
re
> that can shed some light on this matter so that I might get better
> educated on it?
>
>
>
>
>
> Thank you in advance,
>
>
>
> James Coffman - Webmaster
>
> Central Arkansas Development Council
>
> email2webmaster@cadc.com
>
> phone501-778-1133
>
> - Building Futures through community action -
>
>
>
>
> This message (including any attachments) may contain confidential or othe=
rwise privileged information and is intended only for the individual(s) to =
which it is addressed. If you are not the named addressee you should not di=
sseminate, distribute or copy this e-mail. Please notify the sender immedia=
tely by e-mail if you have received this e-mail by mistake and delete this =
e-mail from your system. E-mail transmission cannot be guaranteed to be sec=
ured or error-free as information could be intercepted, corrupted, lost, de=
stroyed, arrive late or incomplete, or contain viruses. The sender therefor=
e does not accept liability for any errors or omissions in the contents of =
this message or that arise as a result of e-mail transmission. If verificat=
ion is required please request a hard-copy version from the sender.
>
> www.pridedallas.com
>
>

This contains all the technical details for using IIS with ASP for
AD/LDAP authentication [1].

And one for PHP with AD/LDAP [2]


Regards,

Richard.

[1] http://support.microsoft.com/kb/326340
[2] http://www.developer.com/xml/article.php/3100951/Integrating -Active-Dir=
ectory-with-PHP.htm
--=20
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
Zend Certified Engineer : http://zend.com/zce.php?c=3DZEND002498&r=3D213474=
731
ZOPA : http://uk.zopa.com/member/RQuadling

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php